package com.example.eshop_ssm.entity;

import java.io.Serializable;

public class NewsInfo implements Serializable {

    private Integer newsId;
    private String newsTitle;
    private Integer bookId;
    private String createDate;

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "NewsInfo{" +
                "newsId=" + newsId +
                ", newsTitle='" + newsTitle + '\'' +
                ", bookId=" + bookId +
                ", createDate='" + createDate + '\'' +
                '}';
    }
}
